package com.ssm.server.feign.annotaion;

import com.ssm.server.feign.registrar.MyFeignRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(MyFeignRegistrar.class)
public @interface EnableMyFeignClients {
    String[] backPackages()default "com";
}
